<!-- HTML header for doxygen 1.9.6-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.6"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>COMMONS-NET: commonsNet.smtp.AuthenticatingSMTPClient类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
  $(document).ready(function() { init_search(); });
/* @license-end */
</script>
<link href="style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">COMMONS-NET
   </div>
  </td>
    <td>        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <span id="MSearchSelect"                onmouseover="return searchBox.OnSearchSelectShow()"                onmouseout="return searchBox.OnSearchSelectHide()">&#160;</span>
          <input type="text" id="MSearchField" value="" placeholder="搜索" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.svg" alt=""/></a>
          </span>
        </div>
</td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.6 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('classcommonsNet_1_1smtp_1_1AuthenticatingSMTPClient.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">载入中...</div>
<div class="SRStatus" id="Searching">搜索中...</div>
<div class="SRStatus" id="NoMatches">未找到</div>
</div>
</div>
</div>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pri-attribs">Private 属性</a> &#124;
<a href="classcommonsNet_1_1smtp_1_1AuthenticatingSMTPClient-members.html">所有成员列表</a>  </div>
  <div class="headertitle"><div class="title">commonsNet.smtp.AuthenticatingSMTPClient类 参考</div></div>
</div><!--header-->
<div class="contents">

<p>支持认证的SMTP客户端。  
 <a href="classcommonsNet_1_1smtp_1_1AuthenticatingSMTPClient.html#details">更多...</a></p>
<div class="dynheader">
类 commonsNet.smtp.AuthenticatingSMTPClient 继承关系图:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classcommonsNet_1_1smtp_1_1AuthenticatingSMTPClient.png" usemap="#commonsNet.smtp.AuthenticatingSMTPClient_map" alt=""/>
  <map id="commonsNet.smtp.AuthenticatingSMTPClient_map" name="commonsNet.smtp.AuthenticatingSMTPClient_map">
<area href="classcommonsNet_1_1smtp_1_1SMTPSClient.html" title="SMTPSClient类为SMTPClient提供TLS连接加密。" alt="commonsNet.smtp.SMTPSClient" shape="rect" coords="0,168,262,192"/>
<area href="classcommonsNet_1_1smtp_1_1SMTPClient.html" title="SMTPClient封装了通过SMTP服务器发送文件所需的功能。此类处理与SMTP服务器交互的所有低级细节，并提供方便的高级接口。" alt="commonsNet.smtp.SMTPClient" shape="rect" coords="0,112,262,136"/>
<area href="classcommonsNet_1_1smtp_1_1SMTP.html" title="SMTP类提供实现SMTP客户端所需的基本功能，提供一组与命令名称对应的方法以便于实现SMTP客户端。" alt="commonsNet.smtp.SMTP" shape="rect" coords="0,56,262,80"/>
<area href="classcommonsNet_1_1SocketClient.html" title="SocketClient类提供客户端对象访问套接字所需的基本操作。打开套接字、关闭套接字、设置超时等。" alt="commonsNet.SocketClient" shape="rect" coords="0,0,262,24"/>
  </map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a0f958317651126b47cfccf296678b396"><td class="memItemLeft" align="right" valign="top">public&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1smtp_1_1AuthenticatingSMTPClient.html#a0f958317651126b47cfccf296678b396">init</a> ()</td></tr>
<tr class="memdesc:a0f958317651126b47cfccf296678b396"><td class="mdescLeft">&#160;</td><td class="mdescRight">构造函数。将安全模式设置为显式（isImplicit=false）。  <br /></td></tr>
<tr class="separator:a0f958317651126b47cfccf296678b396"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7acd26f0a0889cfb0c703d4ab7cb997f"><td class="memItemLeft" align="right" valign="top">public&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1smtp_1_1AuthenticatingSMTPClient.html#a7acd26f0a0889cfb0c703d4ab7cb997f">init</a> (isImplicit: Bool)</td></tr>
<tr class="memdesc:a7acd26f0a0889cfb0c703d4ab7cb997f"><td class="mdescLeft">&#160;</td><td class="mdescRight">构造函数。  <br /></td></tr>
<tr class="separator:a7acd26f0a0889cfb0c703d4ab7cb997f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a30f82c3854edb6c7ffeded0b6306e79c"><td class="memItemLeft" align="right" valign="top">public&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1smtp_1_1AuthenticatingSMTPClient.html#a30f82c3854edb6c7ffeded0b6306e79c">init</a> (tlsConfig: TlsClientConfig)</td></tr>
<tr class="memdesc:a30f82c3854edb6c7ffeded0b6306e79c"><td class="mdescLeft">&#160;</td><td class="mdescRight">构造函数。  <br /></td></tr>
<tr class="separator:a30f82c3854edb6c7ffeded0b6306e79c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8851ca752b51340d291a273e002c29ee"><td class="memItemLeft" align="right" valign="top">public&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1smtp_1_1AuthenticatingSMTPClient.html#a8851ca752b51340d291a273e002c29ee">init</a> (tlsConfig: ?TlsClientConfig, isImplicit: Bool)</td></tr>
<tr class="memdesc:a8851ca752b51340d291a273e002c29ee"><td class="mdescLeft">&#160;</td><td class="mdescRight">构造函数。  <br /></td></tr>
<tr class="separator:a8851ca752b51340d291a273e002c29ee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab2a150e14ad746d0abf38761e743c671"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1smtp_1_1AuthenticatingSMTPClient.html#ab2a150e14ad746d0abf38761e743c671">ehlo</a> (hostname: String): Int64</td></tr>
<tr class="memdesc:ab2a150e14ad746d0abf38761e743c671"><td class="mdescLeft">&#160;</td><td class="mdescRight">向服务器发送ESMTP EHLO命令、接收回复并返回回复代码的便捷方法。  <br /></td></tr>
<tr class="separator:ab2a150e14ad746d0abf38761e743c671"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acbe3a511e645cb589c669f6ca90553ae"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1smtp_1_1AuthenticatingSMTPClient.html#acbe3a511e645cb589c669f6ca90553ae">elogin</a> (hostname: String): Bool</td></tr>
<tr class="memdesc:acbe3a511e645cb589c669f6ca90553ae"><td class="mdescLeft">&#160;</td><td class="mdescRight">通过发送带有给定主机名作为参数的EHLO命令登录ESMTP服务器。在执行任何邮件命令之前，您必须先登录。  <br /></td></tr>
<tr class="separator:acbe3a511e645cb589c669f6ca90553ae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a58d8383bbab22b5513fc210a726fb69b"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1smtp_1_1AuthenticatingSMTPClient.html#a58d8383bbab22b5513fc210a726fb69b">elogin</a> (): Bool</td></tr>
<tr class="memdesc:a58d8383bbab22b5513fc210a726fb69b"><td class="mdescLeft">&#160;</td><td class="mdescRight">通过发送带有客户端主机名作为参数的EHLO命令登录ESMTP服务器。在执行任何邮件命令之前，您必须先登录。  <br /></td></tr>
<tr class="separator:a58d8383bbab22b5513fc210a726fb69b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac5f5bb267997e0b2cdc2bb80022962cb"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1smtp_1_1AuthenticatingSMTPClient.html#ac5f5bb267997e0b2cdc2bb80022962cb">getEnhancedReplyCode</a> (): Array&lt;Int64&gt;</td></tr>
<tr class="memdesc:ac5f5bb267997e0b2cdc2bb80022962cb"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回上次SMTP回复的增强回复代码的整数值。  <br /></td></tr>
<tr class="separator:ac5f5bb267997e0b2cdc2bb80022962cb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeff3a3a5de4530d8c04a2a9cd64b4003"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1smtp_1_1AuthenticatingSMTPClient.html#aeff3a3a5de4530d8c04a2a9cd64b4003">auth</a> (method: <a class="el" href="enumcommonsNet_1_1smtp_1_1SMTP__AUTH__METHOD.html">SMTP_AUTH_METHOD</a>, user: String, password: String): Bool</td></tr>
<tr class="memdesc:aeff3a3a5de4530d8c04a2a9cd64b4003"><td class="mdescLeft">&#160;</td><td class="mdescRight">使用给定的用户和给定的密码，通过使用所选机制发送AUTHENTICATE命令，进行身份验证。  <br /></td></tr>
<tr class="separator:aeff3a3a5de4530d8c04a2a9cd64b4003"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classcommonsNet_1_1smtp_1_1SMTPSClient"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classcommonsNet_1_1smtp_1_1SMTPSClient')"><img src="closed.png" alt="-"/>&#160;Public 成员函数 继承自 <a class="el" href="classcommonsNet_1_1smtp_1_1SMTPSClient.html">commonsNet.smtp.SMTPSClient</a></td></tr>
<tr class="memitem:a6060992fb1a6b2f63360fb5a04b03653 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTPSClient"><td class="memItemLeft" align="right" valign="top">public&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1smtp_1_1SMTPSClient.html#a6060992fb1a6b2f63360fb5a04b03653">init</a> ()</td></tr>
<tr class="memdesc:a6060992fb1a6b2f63360fb5a04b03653 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTPSClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">IMAPSClient的构造函数。将安全模式设置为显式（isImplicit=false）。  <br /></td></tr>
<tr class="separator:a6060992fb1a6b2f63360fb5a04b03653 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTPSClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a887d7ea85bb421b5f3f05cacd10ef73b inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTPSClient"><td class="memItemLeft" align="right" valign="top">public&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1smtp_1_1SMTPSClient.html#a887d7ea85bb421b5f3f05cacd10ef73b">init</a> (isImplicit: Bool)</td></tr>
<tr class="memdesc:a887d7ea85bb421b5f3f05cacd10ef73b inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTPSClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">IMAPSClient的构造函数。  <br /></td></tr>
<tr class="separator:a887d7ea85bb421b5f3f05cacd10ef73b inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTPSClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1bc2a313a92f758fca08fca4b63561a7 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTPSClient"><td class="memItemLeft" align="right" valign="top">public&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1smtp_1_1SMTPSClient.html#a1bc2a313a92f758fca08fca4b63561a7">init</a> (tlsConfig: TlsClientConfig)</td></tr>
<tr class="memdesc:a1bc2a313a92f758fca08fca4b63561a7 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTPSClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">IMAPSClient的构造函数。  <br /></td></tr>
<tr class="separator:a1bc2a313a92f758fca08fca4b63561a7 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTPSClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab6848fb5ade4e1dcb6ae8460fcb7d619 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTPSClient"><td class="memItemLeft" align="right" valign="top">public&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1smtp_1_1SMTPSClient.html#ab6848fb5ade4e1dcb6ae8460fcb7d619">init</a> (tlsConfig: ?TlsClientConfig, isImplicit: Bool)</td></tr>
<tr class="memdesc:ab6848fb5ade4e1dcb6ae8460fcb7d619 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTPSClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">IMAPSClient的构造函数。  <br /></td></tr>
<tr class="separator:ab6848fb5ade4e1dcb6ae8460fcb7d619 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTPSClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab81d69cd46e86d7ccec053023f5c1555 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTPSClient"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1smtp_1_1SMTPSClient.html#ab81d69cd46e86d7ccec053023f5c1555">setTlsConfig</a> (config: TlsClientConfig)</td></tr>
<tr class="memdesc:ab81d69cd46e86d7ccec053023f5c1555 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTPSClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置TLS客户端配置  <br /></td></tr>
<tr class="separator:ab81d69cd46e86d7ccec053023f5c1555 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTPSClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a85767456917fc574a6bdb923d10c2d8f inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTPSClient"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1smtp_1_1SMTPSClient.html#a85767456917fc574a6bdb923d10c2d8f">setVerifyMode</a> (verifyMode: CertificateVerifyMode)</td></tr>
<tr class="memdesc:a85767456917fc574a6bdb923d10c2d8f inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTPSClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置证书认证模式  <br /></td></tr>
<tr class="separator:a85767456917fc574a6bdb923d10c2d8f inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTPSClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a926d62090d362bce884031dcf46a4776 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTPSClient"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1smtp_1_1SMTPSClient.html#a926d62090d362bce884031dcf46a4776">execTLS</a> ()</td></tr>
<tr class="memdesc:a926d62090d362bce884031dcf46a4776 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTPSClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">执行TLS命令。  <br /></td></tr>
<tr class="separator:a926d62090d362bce884031dcf46a4776 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTPSClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classcommonsNet_1_1smtp_1_1SMTPClient"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classcommonsNet_1_1smtp_1_1SMTPClient')"><img src="closed.png" alt="-"/>&#160;Public 成员函数 继承自 <a class="el" href="classcommonsNet_1_1smtp_1_1SMTPClient.html">commonsNet.smtp.SMTPClient</a></td></tr>
<tr class="memitem:af5ec38e8980a45d95f9fc9fc92b05c0c inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTPClient"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1smtp_1_1SMTPClient.html#af5ec38e8980a45d95f9fc9fc92b05c0c">completePendingCommand</a> (): Bool</td></tr>
<tr class="memdesc:af5ec38e8980a45d95f9fc9fc92b05c0c inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTPClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">接收当前命令的回复信息。  <br /></td></tr>
<tr class="separator:af5ec38e8980a45d95f9fc9fc92b05c0c inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTPClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af59be252d01c0b4ef59b710019af70d0 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTPClient"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1smtp_1_1SMTPClient.html#af59be252d01c0b4ef59b710019af70d0">login</a> (hostname: String): Bool</td></tr>
<tr class="memdesc:af59be252d01c0b4ef59b710019af70d0 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTPClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">通过发送带有给定主机名作为参数的HELO命令登录SMTP服务器。在执行任何邮件命令之前，您必须先登录。  <br /></td></tr>
<tr class="separator:af59be252d01c0b4ef59b710019af70d0 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTPClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af5cb5299f9c9b69efa8953bd75a317f6 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTPClient"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1smtp_1_1SMTPClient.html#af5cb5299f9c9b69efa8953bd75a317f6">login</a> (): Bool</td></tr>
<tr class="memdesc:af5cb5299f9c9b69efa8953bd75a317f6 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTPClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">通过发送HELO命令并将客户端主机名作为参数登录到SMTP服务器。在执行任何邮件命令之前，您必须先登录。  <br /></td></tr>
<tr class="separator:af5cb5299f9c9b69efa8953bd75a317f6 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTPClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af582544eb67a00698587df66514e66b3 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTPClient"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1smtp_1_1SMTPClient.html#af582544eb67a00698587df66514e66b3">setSender</a> (path: <a class="el" href="classcommonsNet_1_1smtp_1_1RelayPath.html">RelayPath</a>): Bool</td></tr>
<tr class="memdesc:af582544eb67a00698587df66514e66b3 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTPClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">使用SMTP MAIL命令设置邮件的发件人，指定反向转发路径。在指定任何收件人之前，必须先设置发件人，否则邮件服务器将拒绝您的命令。  <br /></td></tr>
<tr class="separator:af582544eb67a00698587df66514e66b3 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTPClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abd56933b955c4f90558248fb2e1b9683 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTPClient"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1smtp_1_1SMTPClient.html#abd56933b955c4f90558248fb2e1b9683">setSender</a> (address: String): Bool</td></tr>
<tr class="memdesc:abd56933b955c4f90558248fb2e1b9683 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTPClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">使用SMTP MAIL命令设置邮件的发件人，指定发件人的电子邮件地址。在指定任何收件人之前，必须先设置发件人，否则邮件服务器将拒绝您的命令。  <br /></td></tr>
<tr class="separator:abd56933b955c4f90558248fb2e1b9683 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTPClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4aab9e217459820ad1645cff6c7d6cf0 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTPClient"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1smtp_1_1SMTPClient.html#a4aab9e217459820ad1645cff6c7d6cf0">addRecipient</a> (path: <a class="el" href="classcommonsNet_1_1smtp_1_1RelayPath.html">RelayPath</a>): Bool</td></tr>
<tr class="memdesc:a4aab9e217459820ad1645cff6c7d6cf0 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTPClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">使用SMTP RCPT命令为邮件添加收件人，指定转发路径。在指定任何收件人之前，必须先设置发件人，否则邮件服务器将拒绝您的命令。  <br /></td></tr>
<tr class="separator:a4aab9e217459820ad1645cff6c7d6cf0 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTPClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abbed16e30900a94a90a8e06c4c8c50eb inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTPClient"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1smtp_1_1SMTPClient.html#abbed16e30900a94a90a8e06c4c8c50eb">addRecipient</a> (address: String): Bool</td></tr>
<tr class="memdesc:abbed16e30900a94a90a8e06c4c8c50eb inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTPClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">使用SMTP RCPT命令为邮件添加收件人，即收件人的电子邮件地址。在指定任何收件人之前，必须先设置发件人，否则邮件服务器将拒绝您的命令。  <br /></td></tr>
<tr class="separator:abbed16e30900a94a90a8e06c4c8c50eb inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTPClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a063c258b44f23c1869c8fa4488cbc2a0 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTPClient"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1smtp_1_1SMTPClient.html#a063c258b44f23c1869c8fa4488cbc2a0">sendMessageData</a> (): ?<a class="el" href="classcommonsNet_1_1io_1_1DotTerminatedMessageWriter.html">DotTerminatedMessageWriter</a>&lt;StreamingSocket&gt;</td></tr>
<tr class="memdesc:a063c258b44f23c1869c8fa4488cbc2a0 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTPClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">发送SMTP DATA命令以准备发送电子邮件。  <br /></td></tr>
<tr class="separator:a063c258b44f23c1869c8fa4488cbc2a0 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTPClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae18fc12fc7d2b6b26c3a9a2fb1fbf61a inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTPClient"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1smtp_1_1SMTPClient.html#ae18fc12fc7d2b6b26c3a9a2fb1fbf61a">sendShortMessageData</a> (message: String): Bool</td></tr>
<tr class="memdesc:ae18fc12fc7d2b6b26c3a9a2fb1fbf61a inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTPClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">发送短消息的便捷方法。  <br /></td></tr>
<tr class="separator:ae18fc12fc7d2b6b26c3a9a2fb1fbf61a inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTPClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5345826ef8a1bd3b9ec51a40982de158 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTPClient"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1smtp_1_1SMTPClient.html#a5345826ef8a1bd3b9ec51a40982de158">sendSimpleMessage</a> (sender: String, recipient: String, message: String): Bool</td></tr>
<tr class="memdesc:a5345826ef8a1bd3b9ec51a40982de158 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTPClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">发送短电子邮件的便捷方法，无需明确设置发件人和收件人。  <br /></td></tr>
<tr class="separator:a5345826ef8a1bd3b9ec51a40982de158 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTPClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acf42cade3670a3d37ca6d00733b67675 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTPClient"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1smtp_1_1SMTPClient.html#acf42cade3670a3d37ca6d00733b67675">sendSimpleMessage</a> (sender: String, recipients: Array&lt;String&gt;, message: String): Bool</td></tr>
<tr class="memdesc:acf42cade3670a3d37ca6d00733b67675 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTPClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">发送短电子邮件的便捷方法，无需明确设置发件人和收件人。  <br /></td></tr>
<tr class="separator:acf42cade3670a3d37ca6d00733b67675 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTPClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a710201b063e163e138770f643c42252e inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTPClient"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1smtp_1_1SMTPClient.html#a710201b063e163e138770f643c42252e">logout</a> (): Bool</td></tr>
<tr class="memdesc:a710201b063e163e138770f643c42252e inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTPClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">通过发送QUIT命令退出SMTP服务器。  <br /></td></tr>
<tr class="separator:a710201b063e163e138770f643c42252e inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTPClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af5dd153158766c61a8e00892b2e0c4ee inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTPClient"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1smtp_1_1SMTPClient.html#af5dd153158766c61a8e00892b2e0c4ee">reset</a> (): Bool</td></tr>
<tr class="memdesc:af5dd153158766c61a8e00892b2e0c4ee inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTPClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">中止当前邮件事务，重置所有服务器存储的发件人、收件人和邮件数据，清理所有缓冲区和表。  <br /></td></tr>
<tr class="separator:af5dd153158766c61a8e00892b2e0c4ee inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTPClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0433ff7e4c12f0a8dfe53221f7dc323b inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTPClient"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1smtp_1_1SMTPClient.html#a0433ff7e4c12f0a8dfe53221f7dc323b">verify</a> (username: String): Bool</td></tr>
<tr class="separator:a0433ff7e4c12f0a8dfe53221f7dc323b inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTPClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a75e9df9c1106e20ca84880e639a4e97e inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTPClient"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1smtp_1_1SMTPClient.html#a75e9df9c1106e20ca84880e639a4e97e">listHelp</a> (): ?String</td></tr>
<tr class="memdesc:a75e9df9c1106e20ca84880e639a4e97e inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTPClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">从服务器获取系统帮助信息并返回完整字符串。  <br /></td></tr>
<tr class="separator:a75e9df9c1106e20ca84880e639a4e97e inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTPClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab9d8fd1f1ed7b95f6c7d82684e83a753 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTPClient"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1smtp_1_1SMTPClient.html#ab9d8fd1f1ed7b95f6c7d82684e83a753">listHelp</a> (command: String): ?String</td></tr>
<tr class="memdesc:ab9d8fd1f1ed7b95f6c7d82684e83a753 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTPClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">从服务器获取给定命令的帮助信息，并返回完整字符串。  <br /></td></tr>
<tr class="separator:ab9d8fd1f1ed7b95f6c7d82684e83a753 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTPClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2f86881965bb39933aa6f80ec6b12c2c inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTPClient"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1smtp_1_1SMTPClient.html#a2f86881965bb39933aa6f80ec6b12c2c">sendNoop</a> (): Bool</td></tr>
<tr class="memdesc:a2f86881965bb39933aa6f80ec6b12c2c inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTPClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">向SMTP服务器发送NOOP命令。这对于防止服务器超时非常有用。  <br /></td></tr>
<tr class="separator:a2f86881965bb39933aa6f80ec6b12c2c inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTPClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classcommonsNet_1_1smtp_1_1SMTP"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classcommonsNet_1_1smtp_1_1SMTP')"><img src="closed.png" alt="-"/>&#160;Public 成员函数 继承自 <a class="el" href="classcommonsNet_1_1smtp_1_1SMTP.html">commonsNet.smtp.SMTP</a></td></tr>
<tr class="memitem:ade17ed27b3942733173884095b37fab5 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTP"><td class="memItemLeft" align="right" valign="top">public&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1smtp_1_1SMTP.html#ade17ed27b3942733173884095b37fab5">init</a> ()</td></tr>
<tr class="memdesc:ade17ed27b3942733173884095b37fab5 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTP"><td class="mdescLeft">&#160;</td><td class="mdescRight">SMTP默认构造器，初始化默认端口  <br /></td></tr>
<tr class="separator:ade17ed27b3942733173884095b37fab5 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTP"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af812084eb703c0a01b65c8b330145f56 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTP"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1smtp_1_1SMTP.html#af812084eb703c0a01b65c8b330145f56">disconnect</a> ()</td></tr>
<tr class="memdesc:af812084eb703c0a01b65c8b330145f56 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTP"><td class="mdescLeft">&#160;</td><td class="mdescRight">关闭与SMTP服务器的连接，并将某些内部数据设置为None。  <br /></td></tr>
<tr class="separator:af812084eb703c0a01b65c8b330145f56 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTP"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac0cc93d6e732efb776596a02a2787570 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTP"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1smtp_1_1SMTP.html#ac0cc93d6e732efb776596a02a2787570">sendCommand</a> (command: Int64): Int64</td></tr>
<tr class="memdesc:ac0cc93d6e732efb776596a02a2787570 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTP"><td class="mdescLeft">&#160;</td><td class="mdescRight">向服务器发送命令，返回服务器响应的回复代码。  <br /></td></tr>
<tr class="separator:ac0cc93d6e732efb776596a02a2787570 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTP"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7db322c8b1bbc825319dc17655cfd1c7 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTP"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1smtp_1_1SMTP.html#a7db322c8b1bbc825319dc17655cfd1c7">sendCommand</a> (command: Int64, args: ?String): Int64</td></tr>
<tr class="memdesc:a7db322c8b1bbc825319dc17655cfd1c7 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTP"><td class="mdescLeft">&#160;</td><td class="mdescRight">向服务器发送命令，返回服务器响应的回复代码。  <br /></td></tr>
<tr class="separator:a7db322c8b1bbc825319dc17655cfd1c7 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTP"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abcf403d4e3d8900bd69d0c4e80d39607 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTP"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1smtp_1_1SMTP.html#abcf403d4e3d8900bd69d0c4e80d39607">sendCommand</a> (command: String): Int64</td></tr>
<tr class="memdesc:abcf403d4e3d8900bd69d0c4e80d39607 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTP"><td class="mdescLeft">&#160;</td><td class="mdescRight">向服务器发送命令，也可用于发送文本数据，返回服务器响应的回复代码。  <br /></td></tr>
<tr class="separator:abcf403d4e3d8900bd69d0c4e80d39607 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTP"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0c9017da1732a4c4053386637a192b26 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTP"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1smtp_1_1SMTP.html#a0c9017da1732a4c4053386637a192b26">sendCommand</a> (command: String, args: ?String): Int64</td></tr>
<tr class="memdesc:a0c9017da1732a4c4053386637a192b26 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTP"><td class="mdescLeft">&#160;</td><td class="mdescRight">向服务器发送命令，也可用于发送文本数据，返回服务器响应的回复代码。  <br /></td></tr>
<tr class="separator:a0c9017da1732a4c4053386637a192b26 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTP"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a179b730ce4ab1ef7768577160ee45fa0 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTP"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1smtp_1_1SMTP.html#a179b730ce4ab1ef7768577160ee45fa0">getReply</a> (): Int64</td></tr>
<tr class="memdesc:a179b730ce4ab1ef7768577160ee45fa0 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTP"><td class="mdescLeft">&#160;</td><td class="mdescRight">从SMTP服务器获取回复并返回整数回复代码。调用此方法后，可以通过调用getReplyString或getReplyStrings来访问实际的回复文本。  <br /></td></tr>
<tr class="separator:a179b730ce4ab1ef7768577160ee45fa0 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTP"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5fe4345904c92516cd8d7aa1726feb15 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTP"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1smtp_1_1SMTP.html#a5fe4345904c92516cd8d7aa1726feb15">getReplyCode</a> (): Int64</td></tr>
<tr class="memdesc:a5fe4345904c92516cd8d7aa1726feb15 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTP"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回上次SMTP响应的回复代码的整数值。通常只有在连接到服务器的时候用来检查连接状态，因为connect方法返回类型为Unit。  <br /></td></tr>
<tr class="separator:a5fe4345904c92516cd8d7aa1726feb15 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTP"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6487a6b5a02f2b918a8edadf7cb1f81e inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTP"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1smtp_1_1SMTP.html#a6487a6b5a02f2b918a8edadf7cb1f81e">getReplyStrings</a> (): Array&lt;String&gt;</td></tr>
<tr class="memdesc:a6487a6b5a02f2b918a8edadf7cb1f81e inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTP"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回最后一个SMTP服务器响应的文本的数组形式，每个元素为一行。  <br /></td></tr>
<tr class="separator:a6487a6b5a02f2b918a8edadf7cb1f81e inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTP"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a09a608e95c93d15f095838cd5b116690 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTP"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1smtp_1_1SMTP.html#a09a608e95c93d15f095838cd5b116690">getReplyString</a> (): String</td></tr>
<tr class="memdesc:a09a608e95c93d15f095838cd5b116690 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTP"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回最后一个SMTP服务器响应的完整文本，包括NETASCII格式的所有行尾标记。  <br /></td></tr>
<tr class="separator:a09a608e95c93d15f095838cd5b116690 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTP"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac4228dde65a4d04f7eeb94a36b87e999 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTP"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1smtp_1_1SMTP.html#ac4228dde65a4d04f7eeb94a36b87e999">data</a> ()</td></tr>
<tr class="memdesc:ac4228dde65a4d04f7eeb94a36b87e999 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTP"><td class="mdescLeft">&#160;</td><td class="mdescRight">向服务器发送SMTP DATA命令，接受响应并返回回复代码。  <br /></td></tr>
<tr class="separator:ac4228dde65a4d04f7eeb94a36b87e999 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTP"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a04d3c416f139ddcd4cea041034aef842 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTP"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1smtp_1_1SMTP.html#a04d3c416f139ddcd4cea041034aef842">expn</a> (name: String)</td></tr>
<tr class="memdesc:a04d3c416f139ddcd4cea041034aef842 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTP"><td class="mdescLeft">&#160;</td><td class="mdescRight">向服务器发送SMTP EXPN命令，接受响应并返回回复代码。  <br /></td></tr>
<tr class="separator:a04d3c416f139ddcd4cea041034aef842 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTP"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a892c9efd1f00935df1e1296682e83e15 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTP"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1smtp_1_1SMTP.html#a892c9efd1f00935df1e1296682e83e15">helo</a> (hostname: String)</td></tr>
<tr class="memdesc:a892c9efd1f00935df1e1296682e83e15 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTP"><td class="mdescLeft">&#160;</td><td class="mdescRight">向服务器发送SMTP HELO命令，接受响应并返回回复代码。  <br /></td></tr>
<tr class="separator:a892c9efd1f00935df1e1296682e83e15 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTP"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a72acd12f8d7f594c1d1210f416f23343 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTP"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1smtp_1_1SMTP.html#a72acd12f8d7f594c1d1210f416f23343">help</a> ()</td></tr>
<tr class="memdesc:a72acd12f8d7f594c1d1210f416f23343 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTP"><td class="mdescLeft">&#160;</td><td class="mdescRight">向服务器发送SMTP HELP命令，接受响应并返回回复代码。  <br /></td></tr>
<tr class="separator:a72acd12f8d7f594c1d1210f416f23343 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTP"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9da8a5b0bdaf4e938d0c05580d30e797 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTP"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1smtp_1_1SMTP.html#a9da8a5b0bdaf4e938d0c05580d30e797">help</a> (command: String)</td></tr>
<tr class="memdesc:a9da8a5b0bdaf4e938d0c05580d30e797 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTP"><td class="mdescLeft">&#160;</td><td class="mdescRight">向服务器发送SMTP HELP命令，接受响应并返回回复代码。  <br /></td></tr>
<tr class="separator:a9da8a5b0bdaf4e938d0c05580d30e797 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTP"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aca7916200307c652a4bdddfb9dd1fac1 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTP"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1smtp_1_1SMTP.html#aca7916200307c652a4bdddfb9dd1fac1">mail</a> (reversePath: String)</td></tr>
<tr class="memdesc:aca7916200307c652a4bdddfb9dd1fac1 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTP"><td class="mdescLeft">&#160;</td><td class="mdescRight">向服务器发送SMTP MAIL命令，接受响应并返回回复代码。  <br /></td></tr>
<tr class="separator:aca7916200307c652a4bdddfb9dd1fac1 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTP"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa5498b4fc82747cf8c16cfff3cdd2b75 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTP"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1smtp_1_1SMTP.html#aa5498b4fc82747cf8c16cfff3cdd2b75">noop</a> ()</td></tr>
<tr class="memdesc:aa5498b4fc82747cf8c16cfff3cdd2b75 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTP"><td class="mdescLeft">&#160;</td><td class="mdescRight">向服务器发送SMTP NOOP命令，接受响应并返回回复代码。  <br /></td></tr>
<tr class="separator:aa5498b4fc82747cf8c16cfff3cdd2b75 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTP"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acf714f812848c9b79007b91dca968cba inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTP"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1smtp_1_1SMTP.html#acf714f812848c9b79007b91dca968cba">quit</a> ()</td></tr>
<tr class="memdesc:acf714f812848c9b79007b91dca968cba inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTP"><td class="mdescLeft">&#160;</td><td class="mdescRight">向服务器发送SMTP QUIT命令，接受响应并返回回复代码。  <br /></td></tr>
<tr class="separator:acf714f812848c9b79007b91dca968cba inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTP"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aacd59096917c26fe92dcb3ed74330ff1 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTP"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1smtp_1_1SMTP.html#aacd59096917c26fe92dcb3ed74330ff1">rcpt</a> (forwardPath: String)</td></tr>
<tr class="memdesc:aacd59096917c26fe92dcb3ed74330ff1 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTP"><td class="mdescLeft">&#160;</td><td class="mdescRight">向服务器发送SMTP RCPT命令，接受响应并返回回复代码。  <br /></td></tr>
<tr class="separator:aacd59096917c26fe92dcb3ed74330ff1 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTP"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab84fbb52a515aa4ad6394726926499a3 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTP"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1smtp_1_1SMTP.html#ab84fbb52a515aa4ad6394726926499a3">rset</a> ()</td></tr>
<tr class="memdesc:ab84fbb52a515aa4ad6394726926499a3 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTP"><td class="mdescLeft">&#160;</td><td class="mdescRight">向服务器发送SMTP RSET命令，接受响应并返回回复代码。  <br /></td></tr>
<tr class="separator:ab84fbb52a515aa4ad6394726926499a3 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTP"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abea243960e8ce93486b95fc8c53b2e67 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTP"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1smtp_1_1SMTP.html#abea243960e8ce93486b95fc8c53b2e67">saml</a> (reversePath: String)</td></tr>
<tr class="memdesc:abea243960e8ce93486b95fc8c53b2e67 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTP"><td class="mdescLeft">&#160;</td><td class="mdescRight">向服务器发送SMTP SAML命令，接受响应并返回回复代码。  <br /></td></tr>
<tr class="separator:abea243960e8ce93486b95fc8c53b2e67 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTP"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a43b8bab0f1eac1aaa2ee8f01bddcb7e9 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTP"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1smtp_1_1SMTP.html#a43b8bab0f1eac1aaa2ee8f01bddcb7e9">send</a> (reversePath: String)</td></tr>
<tr class="memdesc:a43b8bab0f1eac1aaa2ee8f01bddcb7e9 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTP"><td class="mdescLeft">&#160;</td><td class="mdescRight">向服务器发送SMTP SEND命令，接受响应并返回回复代码。  <br /></td></tr>
<tr class="separator:a43b8bab0f1eac1aaa2ee8f01bddcb7e9 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTP"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1f6b53bb48365d95f4aaa28007cae14e inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTP"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1smtp_1_1SMTP.html#a1f6b53bb48365d95f4aaa28007cae14e">soml</a> (reversePath: String)</td></tr>
<tr class="memdesc:a1f6b53bb48365d95f4aaa28007cae14e inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTP"><td class="mdescLeft">&#160;</td><td class="mdescRight">向服务器发送SMTP SOML命令，接受响应并返回回复代码。  <br /></td></tr>
<tr class="separator:a1f6b53bb48365d95f4aaa28007cae14e inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTP"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8c0852bb03b327dd245c804fec4018b9 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTP"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1smtp_1_1SMTP.html#a8c0852bb03b327dd245c804fec4018b9">turn</a> ()</td></tr>
<tr class="memdesc:a8c0852bb03b327dd245c804fec4018b9 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTP"><td class="mdescLeft">&#160;</td><td class="mdescRight">向服务器发送SMTP TURN命令，接受响应并返回回复代码。  <br /></td></tr>
<tr class="separator:a8c0852bb03b327dd245c804fec4018b9 inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTP"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2295ffc7abc8e39c14355f7c3eff80ed inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTP"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1smtp_1_1SMTP.html#a2295ffc7abc8e39c14355f7c3eff80ed">vrfy</a> (user: String)</td></tr>
<tr class="memdesc:a2295ffc7abc8e39c14355f7c3eff80ed inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTP"><td class="mdescLeft">&#160;</td><td class="mdescRight">向服务器发送SMTP VRFY命令，接受响应并返回回复代码。  <br /></td></tr>
<tr class="separator:a2295ffc7abc8e39c14355f7c3eff80ed inherit pub_methods_classcommonsNet_1_1smtp_1_1SMTP"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classcommonsNet_1_1SocketClient"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classcommonsNet_1_1SocketClient')"><img src="closed.png" alt="-"/>&#160;Public 成员函数 继承自 <a class="el" href="classcommonsNet_1_1SocketClient.html">commonsNet.SocketClient</a></td></tr>
<tr class="memitem:a1bb898df45d7b393d6c2814753b05be3 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a1bb898df45d7b393d6c2814753b05be3">init</a> ()</td></tr>
<tr class="memdesc:a1bb898df45d7b393d6c2814753b05be3 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">默认构造函数  <br /></td></tr>
<tr class="separator:a1bb898df45d7b393d6c2814753b05be3 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a87551917056355777424650106857aaa inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public mut prop&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a87551917056355777424650106857aaa">readTimeout</a> : ?Duration</td></tr>
<tr class="separator:a87551917056355777424650106857aaa inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1bc17afff65b64aa296c3b55ada867ef inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public mut prop&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a1bc17afff65b64aa296c3b55ada867ef">writeTimeout</a> : ?Duration</td></tr>
<tr class="separator:a1bc17afff65b64aa296c3b55ada867ef inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6356afd60138e32bd7b05c8be35149d6 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public prop&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a6356afd60138e32bd7b05c8be35149d6">remoteAddress</a> : IPAddress</td></tr>
<tr class="memdesc:a6356afd60138e32bd7b05c8be35149d6 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">客户端连接到的远程地址。委托给<code><a class="el" href="">StreamingSocket#remoteAddress</a></code>  <br /></td></tr>
<tr class="separator:a6356afd60138e32bd7b05c8be35149d6 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a48b65614c29c5816bddc0c0b6d9bf2df inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public prop&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a48b65614c29c5816bddc0c0b6d9bf2df">remotePort</a> : UInt16</td></tr>
<tr class="memdesc:a48b65614c29c5816bddc0c0b6d9bf2df inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">客户端连接到的远程主机的端口号  <br /></td></tr>
<tr class="separator:a48b65614c29c5816bddc0c0b6d9bf2df inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a93a0598e2a9e67a8cd12779a30d65142 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public prop&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a93a0598e2a9e67a8cd12779a30d65142">localAddress</a> : IPAddress</td></tr>
<tr class="memdesc:a93a0598e2a9e67a8cd12779a30d65142 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">客户端套接字绑定到的本地地址。委托给<code><a class="el" href="">StreamingSocket#localAddress</a></code>  <br /></td></tr>
<tr class="separator:a93a0598e2a9e67a8cd12779a30d65142 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acfc16ab47c94037df62fb2ba9d027f1e inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public prop&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#acfc16ab47c94037df62fb2ba9d027f1e">localPort</a> : UInt16</td></tr>
<tr class="memdesc:acfc16ab47c94037df62fb2ba9d027f1e inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">客户端绑定到的本地端口号  <br /></td></tr>
<tr class="separator:acfc16ab47c94037df62fb2ba9d027f1e inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af9044380b2d1dd34779216a935fa265c inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public mut prop&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#af9044380b2d1dd34779216a935fa265c">defaultPort</a> : UInt16</td></tr>
<tr class="memdesc:af9044380b2d1dd34779216a935fa265c inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">客户端应连接的默认端口。  <br /></td></tr>
<tr class="separator:af9044380b2d1dd34779216a935fa265c inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0c83df8caef820abcb2ab39ebeb3ffa7 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public mut prop&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a0c83df8caef820abcb2ab39ebeb3ffa7">connectTimeout</a> : Duration</td></tr>
<tr class="memdesc:a0c83df8caef820abcb2ab39ebeb3ffa7 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">连接超时时间，将传递给socket对象的connect方法。  <br /></td></tr>
<tr class="separator:a0c83df8caef820abcb2ab39ebeb3ffa7 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7a488725edabd4193aa85e999f834245 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a7a488725edabd4193aa85e999f834245">isConnected</a> (): Bool</td></tr>
<tr class="memdesc:a7a488725edabd4193aa85e999f834245 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">如果套接字不是None，则返回true。  <br /></td></tr>
<tr class="separator:a7a488725edabd4193aa85e999f834245 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a04e993f4f4374f378f9ddf730e7d1a1a inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a04e993f4f4374f378f9ddf730e7d1a1a">setSocketFactory</a> (socketFactory: ?<a class="el" href="classcommonsNet_1_1SocketFactory.html">SocketFactory</a>): Unit</td></tr>
<tr class="separator:a04e993f4f4374f378f9ddf730e7d1a1a inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad4daf93a806b1a99d35e8b2d8394b2ff inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#ad4daf93a806b1a99d35e8b2d8394b2ff">setServerSocketFactory</a> (serverSocketFactory: ?<a class="el" href="classcommonsNet_1_1ServerSocketFactory.html">ServerSocketFactory</a>): Unit</td></tr>
<tr class="separator:ad4daf93a806b1a99d35e8b2d8394b2ff inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0fbcc57fadf7e3f7b9061232f3bc6303 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public open func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a0fbcc57fadf7e3f7b9061232f3bc6303">connect</a> (address: String): Unit</td></tr>
<tr class="memdesc:a0fbcc57fadf7e3f7b9061232f3bc6303 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">连接到远程主机  <br /></td></tr>
<tr class="separator:a0fbcc57fadf7e3f7b9061232f3bc6303 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a641075d2637ea7141ee2a535d922ef47 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public open func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a641075d2637ea7141ee2a535d922ef47">connect</a> (address: String, port: UInt16): Unit</td></tr>
<tr class="memdesc:a641075d2637ea7141ee2a535d922ef47 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">连接到远程主机  <br /></td></tr>
<tr class="separator:a641075d2637ea7141ee2a535d922ef47 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3a5e20f3c11d7648fe8e13bbbfecc685 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public open func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a3a5e20f3c11d7648fe8e13bbbfecc685">connect</a> (address: String, port: UInt16, localAddress: Option&lt;SocketAddress&gt;): Unit</td></tr>
<tr class="memdesc:a3a5e20f3c11d7648fe8e13bbbfecc685 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">连接到远程主机  <br /></td></tr>
<tr class="separator:a3a5e20f3c11d7648fe8e13bbbfecc685 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1ea99f7b6db651e4209ec78e8055ad45 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public open func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a1ea99f7b6db651e4209ec78e8055ad45">connect</a> (address: SocketAddress): Unit</td></tr>
<tr class="memdesc:a1ea99f7b6db651e4209ec78e8055ad45 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">连接到远程主机  <br /></td></tr>
<tr class="separator:a1ea99f7b6db651e4209ec78e8055ad45 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac0bfe81fc4e64ac8c8cb4b0982ea6ca7 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public open func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#ac0bfe81fc4e64ac8c8cb4b0982ea6ca7">connect</a> (address: SocketAddress, localAddress: Option&lt;SocketAddress&gt;): Unit</td></tr>
<tr class="memdesc:ac0bfe81fc4e64ac8c8cb4b0982ea6ca7 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">连接到远程主机  <br /></td></tr>
<tr class="separator:ac0bfe81fc4e64ac8c8cb4b0982ea6ca7 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9d49495a9b64c3e848a020b509dcfdc0 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a9d49495a9b64c3e848a020b509dcfdc0">addProtocolCommandListener</a> (listener: <a class="el" href="classcommonsNet_1_1ProtocolCommandListener.html">ProtocolCommandListener</a>): Unit</td></tr>
<tr class="memdesc:a9d49495a9b64c3e848a020b509dcfdc0 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">添加一个ProtocolCommandListener  <br /></td></tr>
<tr class="separator:a9d49495a9b64c3e848a020b509dcfdc0 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a644174b37f378552318c6b93e44ae0e3 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a644174b37f378552318c6b93e44ae0e3">removeProtocolCommandListener</a> (listener: <a class="el" href="classcommonsNet_1_1ProtocolCommandListener.html">ProtocolCommandListener</a>): Unit</td></tr>
<tr class="memdesc:a644174b37f378552318c6b93e44ae0e3 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">移除一个ProtocolCommandListener  <br /></td></tr>
<tr class="separator:a644174b37f378552318c6b93e44ae0e3 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a209c171637129b711301908fe5781329 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public open func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a209c171637129b711301908fe5781329">disconnect</a> (): Unit</td></tr>
<tr class="memdesc:a209c171637129b711301908fe5781329 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">端口socket连接。应该在完成使用后以及再次连接之前调用此方法。_socket_将设为None  <br /></td></tr>
<tr class="separator:a209c171637129b711301908fe5781329 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a174f159c659d115fbb46baace12215d7 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a174f159c659d115fbb46baace12215d7">verifyRemote</a> (socket: StreamingSocket)</td></tr>
<tr class="memdesc:a174f159c659d115fbb46baace12215d7 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">验证给定套接字的远端是否为当前SocketClient连接的同一主机。  <br /></td></tr>
<tr class="separator:a174f159c659d115fbb46baace12215d7 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pri-attribs" name="pri-attribs"></a>
Private 属性</h2></td></tr>
<tr class="memitem:ad8e3ab3141c78f36340d468e7d9b5deb"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1smtp_1_1AuthenticatingSMTPClient.html#ad8e3ab3141c78f36340d468e7d9b5deb">static let MAC_ALGORITHM</a> = HashType.MD5</td></tr>
<tr class="memdesc:ad8e3ab3141c78f36340d468e7d9b5deb"><td class="mdescLeft">&#160;</td><td class="mdescRight">HMAC使用的hash算法  <br /></td></tr>
<tr class="separator:ad8e3ab3141c78f36340d468e7d9b5deb"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="inherited" name="inherited"></a>
额外继承的成员函数</h2></td></tr>
<tr class="inherit_header pub_attribs_classcommonsNet_1_1smtp_1_1SMTP"><td colspan="2" onclick="javascript:toggleInherit('pub_attribs_classcommonsNet_1_1smtp_1_1SMTP')"><img src="closed.png" alt="-"/>&#160;Public 属性 继承自 <a class="el" href="classcommonsNet_1_1smtp_1_1SMTP.html">commonsNet.smtp.SMTP</a></td></tr>
<tr class="memitem:a9f204e24d43ec9b25335fdcbe2407c48 inherit pub_attribs_classcommonsNet_1_1smtp_1_1SMTP"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1smtp_1_1SMTP.html#a9f204e24d43ec9b25335fdcbe2407c48">static let DEFAULT_PORT</a> = 25</td></tr>
<tr class="memdesc:a9f204e24d43ec9b25335fdcbe2407c48 inherit pub_attribs_classcommonsNet_1_1smtp_1_1SMTP"><td class="mdescLeft">&#160;</td><td class="mdescRight">SMPT默认端口 25  <br /></td></tr>
<tr class="separator:a9f204e24d43ec9b25335fdcbe2407c48 inherit pub_attribs_classcommonsNet_1_1smtp_1_1SMTP"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_attribs_classcommonsNet_1_1SocketClient"><td colspan="2" onclick="javascript:toggleInherit('pub_attribs_classcommonsNet_1_1SocketClient')"><img src="closed.png" alt="-"/>&#160;Public 属性 继承自 <a class="el" href="classcommonsNet_1_1SocketClient.html">commonsNet.SocketClient</a></td></tr>
<tr class="memitem:acf063b8bd9929825dc931fa75918df33 inherit pub_attribs_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#acf063b8bd9929825dc931fa75918df33">static let NETASCII_EOL</a> : String = &quot;\r\n&quot;</td></tr>
<tr class="memdesc:acf063b8bd9929825dc931fa75918df33 inherit pub_attribs_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">大多数IETF协议使用的换行符，CRLF  <br /></td></tr>
<tr class="separator:acf063b8bd9929825dc931fa75918df33 inherit pub_attribs_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_methods_classcommonsNet_1_1smtp_1_1SMTPSClient"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classcommonsNet_1_1smtp_1_1SMTPSClient')"><img src="closed.png" alt="-"/>&#160;Protected 成员函数 继承自 <a class="el" href="classcommonsNet_1_1smtp_1_1SMTPSClient.html">commonsNet.smtp.SMTPSClient</a></td></tr>
<tr class="memitem:aa23e2632de2cd5dec13f056a9857920b inherit pro_methods_classcommonsNet_1_1smtp_1_1SMTPSClient"><td class="memItemLeft" align="right" valign="top">protected override func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1smtp_1_1SMTPSClient.html#aa23e2632de2cd5dec13f056a9857920b">_connectAction_</a> ()</td></tr>
<tr class="separator:aa23e2632de2cd5dec13f056a9857920b inherit pro_methods_classcommonsNet_1_1smtp_1_1SMTPSClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_methods_classcommonsNet_1_1smtp_1_1SMTP"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classcommonsNet_1_1smtp_1_1SMTP')"><img src="closed.png" alt="-"/>&#160;Protected 成员函数 继承自 <a class="el" href="classcommonsNet_1_1smtp_1_1SMTP.html">commonsNet.smtp.SMTP</a></td></tr>
<tr class="memitem:acbba8d9a74874315cd81c8d095c18194 inherit pro_methods_classcommonsNet_1_1smtp_1_1SMTP"><td class="memItemLeft" align="right" valign="top">protected open override func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1smtp_1_1SMTP.html#acbba8d9a74874315cd81c8d095c18194">_connectAction_</a> (): Unit</td></tr>
<tr class="separator:acbba8d9a74874315cd81c8d095c18194 inherit pro_methods_classcommonsNet_1_1smtp_1_1SMTP"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_methods_classcommonsNet_1_1SocketClient"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classcommonsNet_1_1SocketClient')"><img src="closed.png" alt="-"/>&#160;Protected 成员函数 继承自 <a class="el" href="classcommonsNet_1_1SocketClient.html">commonsNet.SocketClient</a></td></tr>
<tr class="memitem:afa2734bc5477eabf0599324d6ede038b inherit pro_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">protected func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#afa2734bc5477eabf0599324d6ede038b">fireCommandSent</a> (command: String, message: String)</td></tr>
<tr class="memdesc:afa2734bc5477eabf0599324d6ede038b inherit pro_methods_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">如果有任何监听器，则向他们发送命令的详细信息。  <br /></td></tr>
<tr class="separator:afa2734bc5477eabf0599324d6ede038b inherit pro_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae9c596dad672de038df93ef77b63746f inherit pro_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">protected open func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#ae9c596dad672de038df93ef77b63746f">fireReplyReceived</a> (replyCode: Int64, reply: String)</td></tr>
<tr class="memdesc:ae9c596dad672de038df93ef77b63746f inherit pro_methods_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">如果有任何监听器，则向他们发送回复的详细信息。  <br /></td></tr>
<tr class="separator:ae9c596dad672de038df93ef77b63746f inherit pro_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab5133836949f8b27b41a31473654c881 inherit pro_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">protected open func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#ab5133836949f8b27b41a31473654c881">_connectAction_</a> ()</td></tr>
<tr class="memdesc:ab5133836949f8b27b41a31473654c881 inherit pro_methods_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">由于存在较多的connect方法，因此提供_connectAction_方法作为在建立连接后立即执行某些操作的手段，而不是重新实现所有connect方法。  <br /></td></tr>
<tr class="separator:ab5133836949f8b27b41a31473654c881 inherit pro_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_classcommonsNet_1_1SocketClient"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classcommonsNet_1_1SocketClient')"><img src="closed.png" alt="-"/>&#160;Protected 属性 继承自 <a class="el" href="classcommonsNet_1_1SocketClient.html">commonsNet.SocketClient</a></td></tr>
<tr class="memitem:a3da898c3d3f8488cf8a498ce1147eaf7 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a3da898c3d3f8488cf8a498ce1147eaf7">var _socket_</a> : ?StreamingSocket</td></tr>
<tr class="memdesc:a3da898c3d3f8488cf8a498ce1147eaf7 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">连接使用的socket  <br /></td></tr>
<tr class="separator:a3da898c3d3f8488cf8a498ce1147eaf7 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7610863136db5773a465f7a4feb10cd5 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a7610863136db5773a465f7a4feb10cd5">var _input_</a> : ?InputStream = None</td></tr>
<tr class="memdesc:a7610863136db5773a465f7a4feb10cd5 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">socket输入流  <br /></td></tr>
<tr class="separator:a7610863136db5773a465f7a4feb10cd5 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a60f2dfec175bdbd8f243aea7a7dae5ec inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a60f2dfec175bdbd8f243aea7a7dae5ec">var _output_</a> : ?OutputStream = None</td></tr>
<tr class="memdesc:a60f2dfec175bdbd8f243aea7a7dae5ec inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">socket输出流  <br /></td></tr>
<tr class="separator:a60f2dfec175bdbd8f243aea7a7dae5ec inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1ae2f2d89af96526257357b68009b196 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a1ae2f2d89af96526257357b68009b196">var _hostname_</a> : ?String</td></tr>
<tr class="memdesc:a1ae2f2d89af96526257357b68009b196 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">用于连接的主机名  <br /></td></tr>
<tr class="separator:a1ae2f2d89af96526257357b68009b196 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0eeb213da3426f5b5fe3b0341f628106 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a0eeb213da3426f5b5fe3b0341f628106">var _remoteSocketAddress_</a> : ?SocketAddress</td></tr>
<tr class="memdesc:a0eeb213da3426f5b5fe3b0341f628106 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">用于连接的远程套接字地址。  <br /></td></tr>
<tr class="separator:a0eeb213da3426f5b5fe3b0341f628106 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a222ed7ff95066135d7427671c17cbb51 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a222ed7ff95066135d7427671c17cbb51">var _defaultPort_</a> : UInt16</td></tr>
<tr class="memdesc:a222ed7ff95066135d7427671c17cbb51 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">客户端应连接的默认端口。  <br /></td></tr>
<tr class="separator:a222ed7ff95066135d7427671c17cbb51 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a45e24f8b9f78f96b0e42499f5224c42a inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a45e24f8b9f78f96b0e42499f5224c42a">var _socketFactory_</a> : <a class="el" href="classcommonsNet_1_1SocketFactory.html">SocketFactory</a></td></tr>
<tr class="separator:a45e24f8b9f78f96b0e42499f5224c42a inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa278799518e05c3b7aeb28bcebb23375 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#aa278799518e05c3b7aeb28bcebb23375">var _serverSocketFactory_</a> : <a class="el" href="classcommonsNet_1_1ServerSocketFactory.html">ServerSocketFactory</a></td></tr>
<tr class="separator:aa278799518e05c3b7aeb28bcebb23375 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a839d81898a2aacfcf9bfd3b7b6f0ffb8 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a839d81898a2aacfcf9bfd3b7b6f0ffb8">var _connectTimeout_</a> : Duration = DEFAULT_CONNECT_TIMEOUT</td></tr>
<tr class="memdesc:a839d81898a2aacfcf9bfd3b7b6f0ffb8 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">连接超时时间  <br /></td></tr>
<tr class="separator:a839d81898a2aacfcf9bfd3b7b6f0ffb8 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a57b01a4fe6374778b227c41a8a45b0e1 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a57b01a4fe6374778b227c41a8a45b0e1">let _commandSupport</a> : <a class="el" href="classcommonsNet_1_1ProtocolCommandSupport.html">ProtocolCommandSupport</a></td></tr>
<tr class="memdesc:a57b01a4fe6374778b227c41a8a45b0e1 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">ProtocolCommandSupport对象，用于管理ProtocolCommandListeners的注册和ProtocolCommandEvents的触发。  <br /></td></tr>
<tr class="separator:a57b01a4fe6374778b227c41a8a45b0e1 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>支持认证的SMTP客户端。 </p>
</div><h2 class="groupheader">构造及析构函数说明</h2>
<a id="a0f958317651126b47cfccf296678b396" name="a0f958317651126b47cfccf296678b396"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0f958317651126b47cfccf296678b396">&#9670;&#160;</a></span>init() <span class="overload">[1/4]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public commonsNet.smtp.AuthenticatingSMTPClient.init </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>构造函数。将安全模式设置为显式（isImplicit=false）。 </p>

</div>
</div>
<a id="a7acd26f0a0889cfb0c703d4ab7cb997f" name="a7acd26f0a0889cfb0c703d4ab7cb997f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7acd26f0a0889cfb0c703d4ab7cb997f">&#9670;&#160;</a></span>init() <span class="overload">[2/4]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public commonsNet.smtp.AuthenticatingSMTPClient.init </td>
          <td>(</td>
          <td class="paramname"><em>isImplicit</em>:&#160;</td>
          <td class="paramtype">Bool</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>构造函数。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">implicit</td><td>安全模式 (true-隐式模式/false-显式模式). </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a30f82c3854edb6c7ffeded0b6306e79c" name="a30f82c3854edb6c7ffeded0b6306e79c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a30f82c3854edb6c7ffeded0b6306e79c">&#9670;&#160;</a></span>init() <span class="overload">[3/4]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public commonsNet.smtp.AuthenticatingSMTPClient.init </td>
          <td>(</td>
          <td class="paramname"><em>tlsConfig</em>:&#160;</td>
          <td class="paramtype">TlsClientConfig</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>构造函数。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">tlsConfig</td><td>TLS客户端配置 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a8851ca752b51340d291a273e002c29ee" name="a8851ca752b51340d291a273e002c29ee"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8851ca752b51340d291a273e002c29ee">&#9670;&#160;</a></span>init() <span class="overload">[4/4]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public commonsNet.smtp.AuthenticatingSMTPClient.init </td>
          <td>(</td>
          <td class="paramname"><em>tlsConfig</em>:&#160;</td>
          <td class="paramtype">?TlsClientConfig, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramname"><em>isImplicit</em>:&#160;</td>
          <td class="paramtype">Bool&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>构造函数。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">tlsConfig</td><td>TLS客户端配置 </td></tr>
    <tr><td class="paramname">implicit</td><td>安全模式 (true-隐式模式/false-显式模式). </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a id="aeff3a3a5de4530d8c04a2a9cd64b4003" name="aeff3a3a5de4530d8c04a2a9cd64b4003"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aeff3a3a5de4530d8c04a2a9cd64b4003">&#9670;&#160;</a></span>auth()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.smtp.AuthenticatingSMTPClient.auth </td>
          <td>(</td>
          <td class="paramname"><em>method</em>:&#160;</td>
          <td class="paramtype">SMTP_AUTH_METHOD, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramname"><em>user</em>:&#160;</td>
          <td class="paramtype">String, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramname"><em>password</em>:&#160;</td>
          <td class="paramtype">String&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>: Bool </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>使用给定的用户和给定的密码，通过使用所选机制发送AUTHENTICATE命令，进行身份验证。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">method</td><td>认证方法 </td></tr>
    <tr><td class="paramname">user</td><td>用户 </td></tr>
    <tr><td class="paramname">password</td><td>密码 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>如果成功完成，则为true，否则为false。 </dd></dl>

</div>
</div>
<a id="ab2a150e14ad746d0abf38761e743c671" name="ab2a150e14ad746d0abf38761e743c671"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab2a150e14ad746d0abf38761e743c671">&#9670;&#160;</a></span>ehlo()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.smtp.AuthenticatingSMTPClient.ehlo </td>
          <td>(</td>
          <td class="paramname"><em>hostname</em>:&#160;</td>
          <td class="paramtype">String</td><td>)</td>
          <td>: Int64 </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>向服务器发送ESMTP EHLO命令、接收回复并返回回复代码的便捷方法。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">hostname</td><td>发送者的主机名。 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>从服务器收到的回复代码。 </dd></dl>

</div>
</div>
<a id="a58d8383bbab22b5513fc210a726fb69b" name="a58d8383bbab22b5513fc210a726fb69b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a58d8383bbab22b5513fc210a726fb69b">&#9670;&#160;</a></span>elogin() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.smtp.AuthenticatingSMTPClient.elogin </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td>: Bool </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>通过发送带有客户端主机名作为参数的EHLO命令登录ESMTP服务器。在执行任何邮件命令之前，您必须先登录。 </p>
<dl class="section return"><dt>返回</dt><dd>如果成功完成，则为true，否则为false。 </dd></dl>

</div>
</div>
<a id="acbe3a511e645cb589c669f6ca90553ae" name="acbe3a511e645cb589c669f6ca90553ae"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acbe3a511e645cb589c669f6ca90553ae">&#9670;&#160;</a></span>elogin() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.smtp.AuthenticatingSMTPClient.elogin </td>
          <td>(</td>
          <td class="paramname"><em>hostname</em>:&#160;</td>
          <td class="paramtype">String</td><td>)</td>
          <td>: Bool </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>通过发送带有给定主机名作为参数的EHLO命令登录ESMTP服务器。在执行任何邮件命令之前，您必须先登录。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">hostname</td><td>用来访问SMTP服务器的主机名。 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>如果成功完成，则为true，否则为false。 </dd></dl>

</div>
</div>
<a id="ac5f5bb267997e0b2cdc2bb80022962cb" name="ac5f5bb267997e0b2cdc2bb80022962cb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac5f5bb267997e0b2cdc2bb80022962cb">&#9670;&#160;</a></span>getEnhancedReplyCode()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.smtp.AuthenticatingSMTPClient.getEnhancedReplyCode </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td>: Array&lt;Int64&gt; </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>返回上次SMTP回复的增强回复代码的整数值。 </p>
<dl class="section return"><dt>返回</dt><dd>上次SMTP回复的增强回复代码的整数值。第一个数字在第一个数组元素中。 </dd></dl>

</div>
</div>
<h2 class="groupheader">类成员变量说明</h2>
<a id="ad8e3ab3141c78f36340d468e7d9b5deb" name="ad8e3ab3141c78f36340d468e7d9b5deb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad8e3ab3141c78f36340d468e7d9b5deb">&#9670;&#160;</a></span>static let MAC_ALGORITHM</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.smtp.AuthenticatingSMTPClient.static let MAC_ALGORITHM = HashType.MD5</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>HMAC使用的hash算法 </p>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>src/smtp/<a class="el" href="authenticating__smtp__client_8cj.html">authenticating_smtp_client.cj</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- HTML footer for doxygen 1.9.6-->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespacecommonsNet.html">commonsNet</a></li><li class="navelem"><a class="el" href="namespacecommonsNet_1_1smtp.html">smtp</a></li><li class="navelem"><a class="el" href="classcommonsNet_1_1smtp_1_1AuthenticatingSMTPClient.html">AuthenticatingSMTPClient</a></li>
    <li class="footer">制作者 <img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.6 </li>
  </ul>
</div>
</body>
</html>
